package com.tqfframe.website.web.entry;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * Created by Tang-QiFeng on 2021/1/2
 */
@Data
@TableName("tqf_stock")
public class StockEntity {
    @TableId(type = IdType.AUTO)//主键增长+1
    private Integer id;
    private String stockNo;
    private double open;
    private double low;
    private double close;
    private String volume;
    private double high;
    private double kValue;
    private Date dayTime;

    // 插入时填充字段
    @TableField(fill = FieldFill.INSERT)
    private Date create_time;

}
